<?php

class TeeBoxCrudController extends Controller
{
	public $crdTeeBox;
	public function __construct()
	{
		$this->crdTeeBox= new crud_teebox(); 
	}
	
	public function actionIndex()
	{
		$this->render('index');
	}
	
	public function actionGetAllTeeBox()
	{
		$this->crdTeeBox->getAllTeeBox();
	}
	
	public function actionInsert()
	{
		$this->crdTeeBox->insert();
	}
	
	public function actionUpdate()
	{
		$this->crdTeeBox->update();
	}
	
	public function actionDelete()
	{
		$this->crdTeeBox->delete();
	}
}